<?php $this->load->view('admin/' . $this->router->fetch_class() . '/_editor'); ?>
<li class="even">
  <label for="name"><?php echo $this->lang->line('label.email_template.name') ?> <span>*</span></label>
  <div class="input"><input type="text" value="<?php echo empty($obj['name']) ? '' : $obj['name'] ?>" name="name"></div>
</li>
<li class="even">
  <label for="slug"><?php echo $this->lang->line('label.email_template.slug') ?> <span>*</span></label>
  <div class="input"><input type="text" value="<?php echo empty($obj['slug']) ? '' : $obj['slug'] ?>" name="slug"></div>
</li>
<li class="">
  <label for="description"><?php echo $this->lang->line('label.email_template.description') ?> <span>*</span></label>
  <div class="input">
    <input type="text" value="<?php echo empty($obj['description']) ? '' : $obj['description'] ?>" name="description"></div>
</li>
<li>
  <label for="subject"><?php echo $this->lang->line('label.email_template.subject') ?></label>
  <div class="input"><input type="text" id="subject" value="<?php echo empty($obj["subject"]) ? "" : $obj["subject"] ?>" name="subject">
  </div>
</li>
<li>
  <label for="content"><?php echo $this->lang->line('label.email_template.content') ?></label>
  <br style="clear:both">
  <textarea class="wysiwyg-advanced" rows="20" cols="40" name="content" id="content_body" ><?php echo empty($obj["content"]) ? "" : $obj["content"] ?></textarea>
</li>